using System;
using System.Collections.Generic;

public class RankedConnectionDescription : ScriptableObjectSingleton<RankedConnectionDescription>
{
	[Serializable]
	public class ConnectionDescription
	{
		[Serializable]
		public class ConnectionTry
		{
			public int numConnectionTries = 10;

			public float timeBetweenConnectTries = 0.1f;

			public float maxSkillLevelDifference = 1000f;

			public FloatRange waitInRoom = new FloatRange
			{
				min = 8f,
				max = 13f
			};

			public int repeatTimes = 1;

			public GGNetwork.ServerType serverType;
		}

		public List<ConnectionTry> connectionTry = new List<ConnectionTry>();
	}

	public List<ConnectionDescription> connect = new List<ConnectionDescription>();

	public ConnectionDescription GetDefault()
	{
		return connect[0];
	}
}
